#include "app_mqtt.h"
#include "log/log.h"
#include <unistd.h>
int recv_cb(char *json)
{
log_debug("处理接受到的远程消息数据：%s",json);
    return 0;
}
int main(int argc, char *argv[])
{
     app_mqtt_init();
     app_mqtt_regist_recv_cb(recv_cb);
     app_mqtt_send("{\"conn_type\":1,\"id\":\"5858\",\"msg\":\"61626364\"}");
     sleep(100);
     app_mqtt_close();
     return 0;
}